Version

SetActiveCell(String,Nullable<Int32>) Method

Changes the ActiveCell and ActiveCellRangeIndex to the specified values.
Syntax
'Declaration
 
Public Overloads Function SetActiveCell( _
   ByVal cellAddress As String, _
   Optional ByVal rangeIndex As Nullable(Of Integer) _
) As Boolean
public bool SetActiveCell( 
   string cellAddress,
   Nullable<int> rangeIndex
)

Parameters

cellAddress
The A1 address of the selected cell to change to the active cell
rangeIndex
Optionally the index of the range in the CellRanges that contains the specified cell.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also